﻿CREATE TABLE [dbo].[tblUserGroup] (
    [UserGroupID]     INT          IDENTITY (1, 1) NOT NULL,
	[UserID] int not null,
	[GroupID] int not null
);
GO
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = 'Defines a set of groups that a user or groups is a member of', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblUserGroup';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = 'The primary key', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblUserGroup',
	@level2type = N'COLUMN', @level2name = N'UserGroupID';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = 'The User ID for the user or group.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblUserGroup',
	@level2type = N'COLUMN', @level2name = N'UserID';
GO;
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = 'The group that this user is a member of.', 
	@level0type = N'SCHEMA', @level0name = N'dbo',
	@level1type = N'TABLE', @level1name = N'tblUserGroup',
	@level2type = N'COLUMN', @level2name = N'GroupID';

